package main

import (
	"log"
	"net/http"
)

func main() {

//如何保证web的高性能
http.HandleFunc("/genInviteCode",  test)

log.Println("Listening...")
http.ListenAndServe(":8080", nil)

}

func test(r http.ResponseWriter,req *http.Request){
// 如何解析request
	//如何写入response
}